<?php defined('SYSPATH') or die('No direct access allowed.');
 
class Model_File extends ORM {
    protected  $_table_name = 'file';
    
    public function rules(){
        return array(
            'course_id' => array(
                array('not_empty'),
            ),
            'file' => array(
                array('not_empty'),
            ),
        );
    }
}